include $(GNUSTEP_MAKEFILES)/common.make

FRAMEWORK_NAME = CoreGraphics

CoreGraphics_OBJCFLAGS = -IHeaders -I../ -DLINUX -fcocotron-runtime -fblocks -I$(ROOT)/Foundation/Headers

CoreGraphics_LDFLAGS+=-Wl,--no-undefined -L../objc/obj -lobjc -lm -lpthread -ldl -lringo -L../ringo/obj -lFoundation -lOnyx2D -L../Onyx2D/Onyx2D.framework/

CoreGraphics_HEADER_FILES_DIR = Headers/CoreGraphics

CoreGraphics_OBJC_FILES = \
CGBitmapContext.m \
CGPattern.m \
CGColorSpace.m \
CGPDFPage.m \
CGImageDestination.m \
CGImage.m \
CGColor.m \
CGAffineTransform.m \
CGDataProvider.m \
CGContext.m \
CGPDFContext.m \
CGPDFDocument.m \
CGDirectDisplay.m \
CGPath.m \
CGImageSource.m \
CGImageProperties.m \
CGFont.m \
CGShading.m \
CGEvent.m \
CGLayer.m \
CGFunction.m \
CGGeometry.m \
CGWindow.m \
CGGradient.m \
CGDataConsumer.m 

#CGLPixelSurface.m move to appkit


include $(GNUSTEP_MAKEFILES)/framework.make

